package com.wisezone.workflow.bean.form;

import java.util.Date;

import com.wisezone.common.bean.form.BaseForm;
import com.wisezone.workflow.bean.WfActivityInstance;
import com.wisezone.workflow.bean.WfProcessInstance;

public class WorkFlowForm extends BaseForm {

	private Long id;

	/**
	 * 流程名称
	 */
	private String name;

	/**
	 * 当前任务实例Id
	 */
	private Long activityInstId;

	/**
	 * 状态ID
	 */
	private String statusId;

	/**
	 * 流程实例ID
	 */
	private Long processInstId;

	/**
	 * 发起时间
	 */
	private Date startTime;

	/**
	 * 发起人ID
	 */
	private Long startUserId;

	/**
	 * 流程实例
	 */
	private WfProcessInstance processInst;

	/**
	 * 活动实例
	 */
	private WfActivityInstance activityInst;

	/**
	 * 当前流程表单
	 */
	private WorkFlowForm current;

	public WorkFlowForm() {
	}
	
	public WorkFlowForm(WorkFlowForm current, WfActivityInstance activityInst,
			WfProcessInstance processInst) {
		super();
		this.current = current;
		this.processInst = processInst;
		this.activityInst = activityInst;
	}

	public Long getActivityInstId() {
		return activityInstId;
	}

	public void setActivityInstId(Long activityInstId) {
		this.activityInstId = activityInstId;
	}

	public String getStatusId() {
		return statusId;
	}

	public void setStatusId(String statusId) {
		this.statusId = statusId;
	}

	public Long getProcessInstId() {
		return processInstId;
	}

	public void setProcessInstId(Long processInstId) {
		this.processInstId = processInstId;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Long getStartUserId() {
		return startUserId;
	}

	public void setStartUserId(Long startUserId) {
		this.startUserId = startUserId;
	}

	public WfProcessInstance getProcessInst() {
		return processInst;
	}

	public void setProcessInst(WfProcessInstance processInst) {
		this.processInst = processInst;
	}

	public WfActivityInstance getActivityInst() {
		return activityInst;
	}

	public void setActivityInst(WfActivityInstance activityInst) {
		this.activityInst = activityInst;
	}

	public WorkFlowForm getCurrent() {
		return current;
	}

	public void setCurrent(WorkFlowForm current) {
		this.current = current;
	}

}
